projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed93560
)
Robustify escaping for newer 'sed's.
author
robertl
<robertl>
Mon, 30 Jun 2003 18:41:32 +0000
(18:41 +0000)
committer
robertl
<robertl>
Mon, 30 Jun 2003 18:41:32 +0000
(18:41 +0000)
mkstyle.sh
patch
|
blob
|
history
diff --git
a/mkstyle.sh
b/mkstyle.sh
index 1cec89a523a8b8169ea0e339d4cc18cfc7ab2f8e..2df86c82b48dc6144f4f9f79bed597fee285444e 100755
(executable)
--- a/
mkstyle.sh
+++ b/
mkstyle.sh
@@
-6,7
+6,7
@@
do
[ $A = "custom.style" ] && continue
ALIST="{ \"$A\", $A } , $ALIST"
echo "static char $A[] = "
- sed 's/\\/\\\\/;s/"/\\"/g;s/\(^.\)/"\1/g;s/\(.$\)/\1\\
\n"/g' $i
+ sed 's/\\/\\\\/;s/"/\\"/g;s/\(^.\)/"\1/g;s/\(.$\)/\1\\
n"/g' $i
echo ";"
done